package org.blogwu.learn.jvmlearn.params;

public class Demo53 {

    public static void main(String[] args) throws InterruptedException {
        Thread.sleep(30000);
        while (true){
            loadData();
        }
    }

    private static void loadData() throws InterruptedException {
        byte[]  data=null;
        for (int i = 0; i < 50; i++) {
            // 100kb
            data=new byte[100*1024];
        }
        data =null;
        Thread.sleep(1000);
    }
}
